<?php

/** 
 * 
 */
class Admin_Form_Recovery extends Zend_Form
{
	/**
	 * (non-PHPdoc)
	 * @see Zend_Form::init()
	 */
	public function init ()
	{
		//Atributos
		$this->setMethod( Zend_Form::METHOD_POST );
		$this->setAttrib( 'id', 'password-recovery' );
		$this->setAttrib( 'class', 'form' );
		
		//Elementos
		$elements = array();
		
		$decorator = array( 'ViewHelper' );
		
		$elements[] = $this->createElement('text', 'recovery')
			->setDecorators($decorator)
			->addValidator('EmailAddress')
			->setAttrib('maxlength', 100)
			->setAttrib('class', 'full-width')
			->setRequired(true);
		
		$this->addelements( $elements );
	}
}